/**
 * Created by zhtt on 2016/12/20.
 */
var app01=angular.module("app01",[]);
app01.controller("ctrl01",function ($scope,$interval) {
    $scope.clock={
        now:new Date().toLocaleTimeString()
    }
    $interval(function () {
        $scope.clock.now=new Date().toLocaleTimeString();
    },1000);
})